{% load staticfiles %}

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>{% block title %}ETH Vote{% endblock %}</title>
        <!-- Core CSS - Include with every page -->
        <link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
        <link href="{% static 'css/custom.css' %}" rel="stylesheet">
        {% block css %}
        {% endblock %}

    </head>
    <body>
        <nav class="navbar navbar-default">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">{% block header %}ETH Vote{% endblock %}</a>
                </div>
                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                    <ul class="nav navbar-nav navbar-right">
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Account
                                <span class="caret"></span>
                            </a>
                            <ul class="dropdown-menu" role="menu">
                                <li>
                                    <a href="/dashboard">Dashboard</a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a href="/logout_then_login">Logout then Login</a>
                                </li>
                                <li>
                                    <a href="/login">Login</a>
                                </li>
                                <li>
                                    <a href="/initial_login">initial_login</a>
                                </li>
                                <li>
                                    <a href="/password_change">password_change</a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a href="/logout">Logout</a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </nav>

    {% block content %}
    <!-- Main page content goes here -->
    {% endblock %}

    <!-- Core Scripts - Include with every page -->
    <script src = "{% static 'js/jquery-3.2.0.js' %}"></script>
    <script src = "{% static 'js/bootstrap.min.js' %}"></script>

    {% block javascript %}
    <!-- Custom scripts -->
    {% endblock %}

    </body>
</html>


